package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class DefaultClause {

    private int beginIndex;
    private int endIndex;
    private DefaultOption defaultOption;

    public DefaultClause(int beginIndex, DefaultOption defaultOption) {
        this.beginIndex = beginIndex;
        this.endIndex = defaultOption.getEndIndex();
        this.defaultOption = defaultOption;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public DefaultOption getDefaultOption() {
        return defaultOption;
    }

}
